package com.zxl.yjb.bean;

/**
 * 作者：songs on 2018/5/23 16:14
 * 邮箱：xjs250@163.com
 * 简介：
 */
public class ZFBOrderBean {

        /**
         * id : ch_4ybLyPW1SKqLSq1GW5WjH0SG
         * object : charge
         * created : 1527063077
         * livemode : true
         * paid : false
         * refunded : false
         * reversed : false
         * app : app_OOSW9GGiHqPSXfXz
         * channel : alipay
         * order_no : 52705706680969
         * client_ip : 124.126.166.95
         * amount : 12
         * amount_settle : 12
         * currency : cny
         * subject : 一键帮接单
         * body : 接单费用
         * extra : {}
         * time_paid : null
         * time_expire : 1527149477
         * time_settle : null
         * transaction_no : null
         * refunds : {"object":"list","url":"/v1/charges/ch_4ybLyPW1SKqLSq1GW5WjH0SG/refunds","has_more":false,"data":[]}
         * amount_refunded : 0
         * failure_code : null
         * failure_msg : null
         * metadata : {}
         * credential : {"object":"credential","alipay":{"orderInfo":"app_id=2017081008124348&method=alipay.trade.app.payZFB&format=JSON&charset=utf-8&sign_type=RSA&timestamp=2018-05-23%2016%3A11%3A17&version=1.0&biz_content=%7B%22body%22%3A%22%E6%8E%A5%E5%8D%95%E8%B4%B9%E7%94%A8%22%2C%22subject%22%3A%22%E4%B8%80%E9%94%AE%E5%B8%AE%E6%8E%A5%E5%8D%95%22%2C%22out_trade_no%22%3A%2252705706680969%22%2C%22total_amount%22%3A0.12%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22timeout_express%22%3A%221440m%22%7D&notify_url=https%3A%2F%2Fnotify.pingxx.com%2Fnotify%2Fcharges%2Fch_4ybLyPW1SKqLSq1GW5WjH0SG&sign=HpLoUtJhDYXGfdovOH%2Bti%2BgGoYpFzNEpmze%2FmOW8Fdu%2B8T7UjbDIGR9cXm2Uv4lHefaNuyHBp2DXmo1dc0TwfbCzTj7QbftVyzFxoHfkDEjhVcsKfKnGDi7hGOiVTsjyi0kxMhq5isQXC3EbQiXsN05JkfG3H1vsHiAWDvAoLDg%3D"}}
         * description : null
         */

        private String id;
        private String object;
        private int created;
        private boolean livemode;
        private boolean paid;
        private boolean refunded;
        private boolean reversed;
        private String app;
        private String channel;
        private String order_no;
        private String client_ip;
        private int amount;
        private int amount_settle;
        private String currency;
        private String subject;
        private String body;
        private ExtraBean extra;
        private Object time_paid;
        private int time_expire;
        private Object time_settle;
        private Object transaction_no;
        private RefundsBean refunds;
        private int amount_refunded;
        private Object failure_code;
        private Object failure_msg;
        private MetadataBean metadata;
        private CredentialBean credential;
        private Object description;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getObject() {
            return object;
        }

        public void setObject(String object) {
            this.object = object;
        }

        public int getCreated() {
            return created;
        }

        public void setCreated(int created) {
            this.created = created;
        }

        public boolean isLivemode() {
            return livemode;
        }

        public void setLivemode(boolean livemode) {
            this.livemode = livemode;
        }

        public boolean isPaid() {
            return paid;
        }

        public void setPaid(boolean paid) {
            this.paid = paid;
        }

        public boolean isRefunded() {
            return refunded;
        }

        public void setRefunded(boolean refunded) {
            this.refunded = refunded;
        }

        public boolean isReversed() {
            return reversed;
        }

        public void setReversed(boolean reversed) {
            this.reversed = reversed;
        }

        public String getApp() {
            return app;
        }

        public void setApp(String app) {
            this.app = app;
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getOrder_no() {
            return order_no;
        }

        public void setOrder_no(String order_no) {
            this.order_no = order_no;
        }

        public String getClient_ip() {
            return client_ip;
        }

        public void setClient_ip(String client_ip) {
            this.client_ip = client_ip;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public int getAmount_settle() {
            return amount_settle;
        }

        public void setAmount_settle(int amount_settle) {
            this.amount_settle = amount_settle;
        }

        public String getCurrency() {
            return currency;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public Object getTime_paid() {
            return time_paid;
        }

        public void setTime_paid(Object time_paid) {
            this.time_paid = time_paid;
        }

        public int getTime_expire() {
            return time_expire;
        }

        public void setTime_expire(int time_expire) {
            this.time_expire = time_expire;
        }

        public Object getTime_settle() {
            return time_settle;
        }

        public void setTime_settle(Object time_settle) {
            this.time_settle = time_settle;
        }

        public Object getTransaction_no() {
            return transaction_no;
        }

        public void setTransaction_no(Object transaction_no) {
            this.transaction_no = transaction_no;
        }

        public RefundsBean getRefunds() {
            return refunds;
        }

        public void setRefunds(RefundsBean refunds) {
            this.refunds = refunds;
        }

        public int getAmount_refunded() {
            return amount_refunded;
        }

        public void setAmount_refunded(int amount_refunded) {
            this.amount_refunded = amount_refunded;
        }

        public Object getFailure_code() {
            return failure_code;
        }

        public void setFailure_code(Object failure_code) {
            this.failure_code = failure_code;
        }

        public Object getFailure_msg() {
            return failure_msg;
        }

        public void setFailure_msg(Object failure_msg) {
            this.failure_msg = failure_msg;
        }

        public MetadataBean getMetadata() {
            return metadata;
        }

        public void setMetadata(MetadataBean metadata) {
            this.metadata = metadata;
        }

        public CredentialBean getCredential() {
            return credential;
        }

        public void setCredential(CredentialBean credential) {
            this.credential = credential;
        }

        public Object getDescription() {
            return description;
        }

        public void setDescription(Object description) {
            this.description = description;
        }

        public static class ExtraBean {
        }

        public static class RefundsBean {
        }

        public static class MetadataBean {
        }

        public static class CredentialBean {
            /**
             * object : credential
             * alipay : {"orderInfo":"app_id=2017081008124348&method=alipay.trade.app.payZFB&format=JSON&charset=utf-8&sign_type=RSA&timestamp=2018-05-23%2016%3A11%3A17&version=1.0&biz_content=%7B%22body%22%3A%22%E6%8E%A5%E5%8D%95%E8%B4%B9%E7%94%A8%22%2C%22subject%22%3A%22%E4%B8%80%E9%94%AE%E5%B8%AE%E6%8E%A5%E5%8D%95%22%2C%22out_trade_no%22%3A%2252705706680969%22%2C%22total_amount%22%3A0.12%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22timeout_express%22%3A%221440m%22%7D&notify_url=https%3A%2F%2Fnotify.pingxx.com%2Fnotify%2Fcharges%2Fch_4ybLyPW1SKqLSq1GW5WjH0SG&sign=HpLoUtJhDYXGfdovOH%2Bti%2BgGoYpFzNEpmze%2FmOW8Fdu%2B8T7UjbDIGR9cXm2Uv4lHefaNuyHBp2DXmo1dc0TwfbCzTj7QbftVyzFxoHfkDEjhVcsKfKnGDi7hGOiVTsjyi0kxMhq5isQXC3EbQiXsN05JkfG3H1vsHiAWDvAoLDg%3D"}
             */

            private String object;
            private AlipayBean alipay;

            public String getObject() {
                return object;
            }

            public void setObject(String object) {
                this.object = object;
            }

            public AlipayBean getAlipay() {
                return alipay;
            }

            public void setAlipay(AlipayBean alipay) {
                this.alipay = alipay;
            }

            public static class AlipayBean {
                /**
                 * orderInfo : app_id=2017081008124348&method=alipay.trade.app.payZFB&format=JSON&charset=utf-8&sign_type=RSA&timestamp=2018-05-23%2016%3A11%3A17&version=1.0&biz_content=%7B%22body%22%3A%22%E6%8E%A5%E5%8D%95%E8%B4%B9%E7%94%A8%22%2C%22subject%22%3A%22%E4%B8%80%E9%94%AE%E5%B8%AE%E6%8E%A5%E5%8D%95%22%2C%22out_trade_no%22%3A%2252705706680969%22%2C%22total_amount%22%3A0.12%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22timeout_express%22%3A%221440m%22%7D&notify_url=https%3A%2F%2Fnotify.pingxx.com%2Fnotify%2Fcharges%2Fch_4ybLyPW1SKqLSq1GW5WjH0SG&sign=HpLoUtJhDYXGfdovOH%2Bti%2BgGoYpFzNEpmze%2FmOW8Fdu%2B8T7UjbDIGR9cXm2Uv4lHefaNuyHBp2DXmo1dc0TwfbCzTj7QbftVyzFxoHfkDEjhVcsKfKnGDi7hGOiVTsjyi0kxMhq5isQXC3EbQiXsN05JkfG3H1vsHiAWDvAoLDg%3D
                 */

                private String orderInfo;

                public String getOrderInfo() {
                    return orderInfo;
                }

                public void setOrderInfo(String orderInfo) {
                    this.orderInfo = orderInfo;
                }
            }
        }

}
